package com.sunma.receive.service;

import java.util.List;
import com.sunma.receive.domain.AssetsReceive;

/**
 * 资产领用明细Service接口
 * 
 * @author sunma
 * @date 2024-07-08
 */
public interface IAssetsReceiveService 
{
    /**
     * 查询资产领用明细
     * 
     * @param id 资产领用明细主键
     * @return 资产领用明细
     */
    public AssetsReceive selectAssetsReceiveById(Long id);

    /**
     * 查询资产领用明细列表
     * 
     * @param assetsReceive 资产领用明细
     * @return 资产领用明细集合
     */
    public List<AssetsReceive> selectAssetsReceiveList(AssetsReceive assetsReceive);

    /**
     * 新增资产领用明细
     * 
     * @param assetsReceive 资产领用明细
     * @return 结果
     */
    public int insertAssetsReceive(AssetsReceive assetsReceive);

    /**
     * 修改资产领用明细
     * 
     * @param assetsReceive 资产领用明细
     * @return 结果
     */
    public int updateAssetsReceive(AssetsReceive assetsReceive);

    /**
     * 批量删除资产领用明细
     * 
     * @param ids 需要删除的资产领用明细主键集合
     * @return 结果
     */
    public int deleteAssetsReceiveByIds(Long[] ids);

    /**
     * 删除资产领用明细信息
     * 
     * @param id 资产领用明细主键
     * @return 结果
     */
    public int deleteAssetsReceiveById(Long id);
    /**
     * 修改资产数量
     *
     * @param assetsReceive 资产领用明细
     * @return 结果
     */
    int updateAssetsReceiveByReturnData(AssetsReceive assetsReceive);
}
